<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    div span{
        color:red;
    }
    
    div > span {
        color: #000;
    }
    div,p,spam{
        font-size: 14px; 
    }
</style>
<body>
    <p>html</p>
    <p>javas</p>
    
</body>
</html>